import request from "../uniHttp"

//获取活动列表
export const activiesList = (data) => {
	return request({
		url: '/api/sczx/activity/activityBaseInfo/page',
		data: data,
	})
}

//获取活动byID
export const activiteById = (data) => {
	return request({
		url: '/api/sczx/activity/activityBaseInfo/detailById',
		data: data,
	})
}

//新增活动
export const createActivite = (data) => {
	return request({
		url: '/api/sczx/activity/activityBaseInfo/create',
		data: data,
	})
}


//修改活动
export const modifyActivite = (data) => {
	return request({
		url: '/api/sczx/activity/activityBaseInfo/edit',
		data: data,
	})
}



//获取游戏列表
export const activiesGameList = (data) => {
	return request({
		url: '/api/sczx/activity/activityGame/page',
		data: data,
	})
}

//获取游戏ById
export const gameById = (data) => {
	return request({
		url: '/api/sczx/activity/activityGame/detailById',
		data: data,
	})
}


//获取音乐分类
export const musicClassLists = (data) => {
	return request({
		url: '/api/sczx/system/sysCommFileType/list',
		data: data,
	})
}


//获取音乐列表
export const musicLists = (data) => {
	return request({
		url: '/api/sczx/system/sysCommFile/page',
		data: data,
	})
}


